﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Community.IMode;
using FantastPlatform.Framework.IService;

namespace FantastPlatform.Community.IService
{
    public interface IPersonService:IDataService<IPerson>
    {
        /// <summary>
        /// 人员信息查询(通过内网)
        /// </summary>
        /// <param name="idCard">身份证号码</param>
        /// <param name="phoneNumber">查询人手机号码</param>
        /// <param name="requestType">查询类型</param>
        /// <returns></returns>
        IPerson SearchPersonByIdCard(string idCard, string phoneNumber);
        /// <summary>
        /// 根据身份证号码在自己数据库查人
        /// </summary>
        /// <param name="idCard"></param>
        /// <returns></returns>
        IList<IPerson> GetPersonByIdCard(string idCard);
    }
}
